Note that the units as calculated in the problem are in fact units of energy.
The frequency needed to cause the electrons to just escape is given by the threshold frequency . If the energy gained by an electron is more than enough for the electron to escape, the rest of the energy gained is expressed as kinetic energy of the electron. The kinetic energy is given by